<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
        <meta content="yes" name="apple-mobile-web-app-capable">
        <meta content="black" name="apple-mobile-web-app-status-bar-style">
        <title>诊所主页</title>
        <script src="__JS__/zepto.min.js"></script>
        <link href="__CSS__/weui.min.css" rel="stylesheet">
        <link rel="stylesheet" href="__SALEMAN__/stylesheets/index.css">
    </head>
    <body>
        <div class="clinic_home">
            <header class = "all_header">
                <a class = "h_back h_back_1" href="/Home/Saleman/Saleman/clinic"><img src="__SALEMAN__/images/back_icon.png" alt=""></a>
                <span class = "h_title">诊所主页</span>
                <a class = "h_add" href="javascript:void(0)"></a>
            </header>

            <notempty name="clinic">
                <div class="clinic_img">
                    <notempty name="clinic">
                        <img src="{$clinic['clinic_pic']}" alt="">
                        <else/>
                        <img src="__SALEMAN__/images/demo.jpg" alt="">
                    </notempty>
                </div>
                <div class="weui-cells">
                    <div class="weui-cell">
                        <div class="weui-cell__bd">
                            <p>诊所负责人</p>
                        </div>
                        <div class="weui-cell__ft">{$clinic['manager_name']}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__bd">
                            <p>诊所名称</p>
                        </div>
                        <div class="weui-cell__ft">{$clinic['clinic_name']}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__bd">
                            <p>手机号</p>
                        </div>
                        <div class="weui-cell__ft"><a style = "color:#999" href="tel:{$clinic['manager_mobile']}">{$clinic['manager_mobile']}</a></div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__bd">
                            <p>擅长</p>
                        </div>
                        <div class="weui-cell__ft intro_info">{$clinic['clinic_specialty']}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__bd" style = "flex:3">
                            <p>诊所资质</p>
                            <p style = "color: #999;font-size: 14px;">{$clinic['clinic_licence']}</p>
                        </div>
                        <div class="weui-cell__ft clinic_nature"><span></span></div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><img src="__SALEMAN__/images/address.png" alt="" style="width:20px;margin-right:5px;display:block"></div>
                        <div class="weui-cell__bd">
                            <p>地址</p>
                        </div>
                        <div class="weui-cell__ft">{$clinic['clinic_address']}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><img src="__SALEMAN__/images/tel_btn.png" alt="" style="width:20px;margin-right:5px;display:block"></div>
                        <div class="weui-cell__bd">
                            <p>电话</p>
                        </div>
                        <div class="weui-cell__ft"><a style = "color:#999" href="tel:{$clinic['clinic_phone']}">{$clinic['clinic_phone']}</a></div>
                    </div>
                    <div class="abstract">
                        <div>简介</div>
                        <div class="summary">{$clinic['clinic_introduction']}</div>
                    </div>
                </div>
                <notempty name="doctorList">
                    <div class="weui-cells">
                        <volist name="doctorList" id="doctorVo">
                            <div class="weui-panel__bd">
                                <a href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg">
                                    <div class="weui-media-box__hd">
                                        <notempty name="doctorVo['image']">
                                            <img class="weui-media-box__thumb" src="{$doctorVo['image']}" alt="">
                                            <else/>
                                            <img class="weui-media-box__thumb" src="__SALEMAN__/images/clinic.png" alt="">
                                        </notempty>
                                    </div>
                                    <div class="weui-media-box__bd">
                                        <div class = "clinic_doc">
                                            <div class="doc_name">
                                                <h4 class="weui-media-box__title" style = "max-width: 100px;">{$doctorVo['name']}</h4>
                                                <span class = "doc_adress" style = "max-width: 145px;text-overflow: ellipsis;white-space: nowrap;word-wrap: break-word;word-break: break-all;overflow: hidden;">{$clinic['clinic_name']}</span>
                                            </div>
                                            <div class="clinic_score">
                                                <span class = "clinic_s">{$doctorVo['score']}</span><span>分</span>
                                            </div>
                                        </div>
                                        <div class="doc_cont">
                                            <p class="weui-media-box__desc">{$doctorVo['good']}</p>
                                        </div>
                                    </div>
                                </a>
                            </div>
                        </volist>
                    </div>
                    <else/>
                    <div class="noClinic">
                        <div class="no_img">
                            <img src="__SALEMAN__/images/no_clinic.png" alt="">
                        </div>
                        <div class="no_tips">
                            暂无医生
                        </div>
                    </div>
                </notempty>
                <else/>
                <div class="noClinic">
                    <div class="no_img">
                        <img src="__SALEMAN__/images/no_clinic.png" alt="">
                    </div>
                    <div class="no_tips">
                        诊所不存在
                    </div>
                </div>
            </notempty>
        </div>
        <script src = "__SaleManager__/js/androidback.js"></script>
        <script src = "__SALEMAN__/js/index.js"></script>
    </body>
</html>